bd9145449c6c606a8e67ad879ed2657adca74cff,bitcoinj-rpcclient/src/main/java/com/msgilligan/bitcoinj/rpc/BitcoinClient.java,BitcoinClient,clearMemPool,#,690

Before Change


     * @return A list of transaction hashes of the removed transactions
     */
    public List<Sha256Hash> clearMemPool() throws JsonRPCException, IOException {
        List<Sha256Hash> hashes = send("clearmempool", null,
                mapper.getTypeFactory().constructCollectionType(List.class, Sha256Hash.class));
        return hashes;
    }
}

After Change


     * @return A list of transaction hashes of the removed transactions
     */
    public List<Sha256Hash> clearMemPool() throws JsonRPCException, IOException {
        JavaType resultType = mapper.getTypeFactory().constructCollectionType(List.class, Sha256Hash.class);
        return send("clearmempool", resultType, Collections.emptyList());
    }
}